<script setup>
import { getCurrentInstance } from 'vue';

// 获取当前组件实例的 proxy，用于访问 $router
const { proxy } = getCurrentInstance();
proxy.$router.push('/login');
</script>

<template>
  <!-- <el-button @click="navigateToAbout">登录</el-button> -->
  <router-view></router-view>
  <!-- <el-backtop :bottom="100">
    <div
      style="
        height: 100%;
        width: 100%;
        background-color: var(--el-bg-color-overlay);
        box-shadow: var(--el-box-shadow-lighter);
        text-align: center;
        line-height: 40px;
        color: #1989fa;
      "
    >
      up
    </div>
  </el-backtop> -->
</template>

<style scoped>

</style>
